import Storage from 'react-native-storage';
import {AsyncStorage} from 'react-native'

let tool = {
    saveUser(){
        AsyncStorage.setItem("name","songdewu",(err,res)=>{
             if(err){
                 console.log("保存用户名失败",err);
             }else{
                 console.log("用户名保存成都：");
             }   
        })
    },
    
}